Skip to content

PDFPath Class

Definition

Namespace: O2S.Components.PDF4NET.Graphics

Defines a PDF path.

C#
public class PDFPath : Object

Inheritance: Object → PDFPath

Remarks

A path represents a series of connected lines and curves.

Constructor

Name Description
PDFPath() Initializes a new PDFPath object.

Methods

Name Description
AddArc Adds an arc to path.
AddArcFromCurrentPoint Adds an arc to path, used only for drawing clouds.
AddBezierTo Adds a cubic Berzier curve to current subpath.
AddEllipse Adds an ellipse to path.
AddLineTo Adds a line at the end of current subpath.
AddPath Adds a path at the end of current path.
AddPolyBezierTo Adds a series of connected Bezier curves to current subpath.
AddPolygon Adds a polygon to path.
AddPolyLineTo Adds a series of connected lines at the end of current subpath.
AddRectangle Adds a rectangle to path.
AddRoundRectangle Adds a rounded rectangle to path.
CloseSubpath Closes the current subpath.
StartSubpath Creates a new subpath at the given position.